For decades, Trump has railed against Jimmy Carter’s decision to give the canal to Panama.