The surprise announcement of a resumption of diplomatic ties between Saudi Arabia and Iran, thanks to a deal brokered by Beijing, underscores regional governments’ interest in a de-escalation of tensions and China’s willingness to wield its economic clout to achieve it.