Faith Groups Increasingly Losing Legal Battles Over Gay Rights