The Chinese president made the remarks as the two countries restored trade after a punishing $22 billion tariff war.