The foreign secretary says the UK will not agree with the US “on every issue” after the US president attacks the PM’s stance.