Pakistan’s mediation of the Iran war is a high-stakes reflection of how middle power dynamics are evolving in real time.