Italian president Sergio Mattarella has met Chinese leader Xi Jinping on an official visit to China that came as Russia’s invasion of Ukraine pitted Nato allies against Beijing’s support for Moscow.