The agreement in principle after two days of talks in London will need to be signed off by President Trump and President Xi