There is a protocol for this, but unfortunately it has not been adopted by the majority of mail providers, and as they are generally focused on web mail, there is little likelihood of much change.
Thunderbird has no simple way to communicate to the mail server that the server should issue vacation responses.