Off-script diatribes on windmills, Gaza aid, the Epstein scandal overshadowed diplomatic goals, critics say