BUG: hidden ticklabels with sharex and secondary

Closes https://github.com/pydata/pandas/issues/9158

Introduced in the subplot refactoring in https://github.com/pydata/pandas/pull/7457

cc @sinhrks

The fix is pretty simple, but I'm worried I may have broken other things. No tests failed though, so hopefully we're good.