LGBT employees protected from workplace discrimination, appeals court rules