Transgender residents fight new state restrictions in court