Backport PR #59818 on branch 2.2.x (BUG: Remove np._get_promotion_state usage)
Backport PR #59818 on branch 2.2.x (BUG: Remove np._get_promotion_state usage)

(cherry picked from commit 081dcdee8d754af90e307cf2311b06b3d02fae2a)

The CI is not yet expected to pass (see https://github.com/pandas-dev/pandas/pull/59785), but the diff looks good to me, so just going to merge as is.