America's global reputation is in tatters. That's not all Trump's fault, but he sure made it worse