SALT LAKE CITY — Wendy and Tom Montgomery went door-to-door in their California neighborhood in 2008 campaigning for the passage of an anti-gay marriage proposition. They were among thousands of faithful Mormons following the direction of a church that spent millions on the cause.