Donald Trump abruptly exited the G-7 summit in Canada, deepening questions about the US president’s promise to bring peace.