The state Court of Appeals overturned a ruling that had restored the governor’s power to fill appellate court vacancies with appointments of his choice.