A court unveiled the winners of the Arizona attorney general’s race and two other elections that were so close they triggered mandatory recounts.