A federal appeals court ruled for the first time Tuesday that the 1964 Civil Rights Act protects LGBT employees from workplace discrimination, setting up a likely battle before the Supreme Court as gay rights advocates push to broaden the scope of the 53-year-old law.