A federal appeals court ruled Wednesday that a Maryland county’s policy of reserving a school board seat just for students to vote for is allowed under the Constitution, beating a challenge that said it discriminated against other voters, including students who attend private schools.