A month of whirlwind diplomatic efforts by China did little to deter President Donald Trump from escalating his trade offensive, an indication of the rocky road ahead for the world’s two largest economies.