By exploring a little, I discovered that ax.get_xminorticklabels() is a list with a text class element.
>>> print(type(ax.get_xminorticklabels()[0]))
And text can be rotated!
>>> for text in ax.get_xminorticklabels():
>>> text.set_rotation(90)
You only have to be careful that they do not overlap.