The world’s most powerful central bankers have vowed in unison to keep interest rates higher for longer if necessary to tame inflation.