The gesture of the visit was an important moment for Trump, who raised doubts about his relationship with US intelligence agencies by initially casting doubt on their assessment that Russia intervened in the election by hacking Democratic email accounts.