Beijing’s diplomatic restraint over the US’s standoff with Tehran should not be mistaken for unreliability or indifference.