China's Xi and Brazil's Lula discuss cooperation amid fallout of US President Donald Trump's trade war.