The complaint, filed with Washington state and Minnesota, argues that the order discriminates against transgender people.