The city’s resolution may make Des Moines one of the first U.S. communities to achieve 24/7 carbon-free electricity.