The Chinese government has presented itself this year as the chief proponent of globalization as a source of prosperity — a stark divergence from Mr. Trump’s protectionist instincts and rejection of multinational trade deals in favor of more old-fashioned bilateral accords.