Nations were poised to approve the first fee on pollution from ships. That’s when the Trump administration began the threats.