Washington opposed a resolution backed by many of its allies over the danger posed by attacks on Kyiv’s nuclear energy.