The Saratoga Springs school board had pledged to safeguard students’ right to participate in activities consistent with their gender identity.