Proponents of renewable power will control the Phoenix area utility’s policymaking for the first time after they won an unusually contentious race that drew attention from national groups.