The US President went into meetings with Nato and G7 leaders to demand a better deal on global defence. He left having lost their respect