LGBT workers protected by Civil Rights Act, court rules