China is willing to work with the European Union to resist protectionism, the country’s economy tsar told the bloc’s trade chief, in an invitation to join forces in pushing back against mounting threats of trade tariffs from the United States.