China’s grasp of high-stakes public statecraft will be put to the test with the arrival of the US president.