The president’s comments to Quad leaders are likely to raise eyebrows in China, which has been at odds with the US over everything from trade to the origins of the COVID vaccine.