A weakening global order creates opportunities for middle powers to act as stabilisers and sustain international cooperation