A California appeals court ruled on Thursday that the states job protections for teachers do not deprive poor and minority students of a quality education or violate their civil rights reversing a landmark lower court decision that had overturned the state’s teacher tenure rules.