U.S. Catholic teacher fired over same-sex marriage