The board had previously adopted “gender identity” protections in response to a government mandate.