Karthik Ramanna writes that if the United States adopts a trade policy based on a dynamic emissions accounting method, it can achieve President Donald Trump’s goal of leveling the manufacturing playing field for American companies by penalizing foreign “dirty” producers, while also mitigating inflation and the risk of a trade war.