If America’s religious institutions mean to retain the traditional definition of marriage, they must start building legal firewalls now.