With U.N. talks coming to a close, some are accusing oil-producing states of weakening the world’s commitment to the green transition.