Donald Trump’s threat to take back control of the Panama Canal harks back to decades of US intervention in Latin America.