BUG: preserve timezone info when writing empty tz-aware frame to HDF5
- [ ] partially closes #20594
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Will handle series case in follow-on
looks like dupe of #37072  sorry just read the comment on the other PR Green. thanks @arw2019 