Catholic teacher backs gay son, quitting in protest of controversial contract