The International Code Council removed the rights of local governments to vote on energy-efficient building codes, a move with major implications for cities as they seek to dramatically reduce emissions.