Revert "Use PyCapsule for internal datetime functions"
Reverts pandas-dev/pandas#51525

This is making #50960 a PITA.
Was there any discussion behind reverting this?

As far as I can tell, reverting this wasn't necessary for addressing #51961, and https://github.com/pandas-dev/pandas/pull/50960 wasn't urgent I jumped the gun.