The French leader is using his visit to Washington to sharply criticize aspects of his ally’s signature climate law as a bad deal for Europe.