Man accused of pulling gun near White House