WASHINGTON — The U.S. Supreme Court on Wednesday seemed likely to side with a Catholic social services agency in a dispute with Philadelphia over the agency’s refusal to work with same-sex couples as foster parents.The case is a big test of religious rights on a more conservative court.Catholic Social Services, which is affiliated with the Archdiocese of Philadelphia, says its religious views keep it from certifying same-sex couples as foster parents. And it says it shouldn’t be shut out of a contract with the city to …