World leaders braced for contentious talks with Trump at the G-7 summit after he earlier lambasted NATO allies for not spending more on defense.