‘The whole world waits’ with unease as drawn-out election and Trump’s unsubstantiated claims batter America’s image