Trump trip from hospital to wave at fans endangers others, doctor warns