Commentary: On Twitter, the Tesla CEO says he’s done all he can to persuade President Donald Trump to remain in the global pact.