[MAINT] Bump Pandas to 2.X
Pandas 1.5.3
has been released in January 2023 and enforcing the constraint pandas < 2
is starting to cause issues with other dependencies.
This MR proposes to bump Pandas to >= 2.1
and makes the necessary changes to support Pandas 2 in Leaspy.