[backport 2.3.x] ENH: Enable pytables to round-trip with StringDtype (#60663)
(cherry picked from commit 60325b86e28edf40cb02444367efbc8deb2b5231)

Backport of https://github.com/pandas-dev/pandas/pull/60663
Thanks @jorisvandenbossche 