The visit had briefly come under scrutiny following the shooting near the White House Correspondents’ Association dinner, which forced Secret Service agents to rush Trump from the venue.