Ten states, including South Carolina, sued the federal government Friday over rules requiring public schools to allow transgender students to use restrooms conforming to their gender identity, joining a dozen other states in the latest fight over LGBT rights.