A Texas court dismissed a lawsuit against the Archdiocese of Galveston-Houston, in which a man alleged that a deacon’s relationship with his wife led to the couple’s divorce.