Chinese leader Xi Jinping’s first visit to Europe in nearly five years is shaping up as a test of the continent’s willingness to confront Beijing over Chinese trade policies that have eviscerated critical European industries.