Sheriff: Shooter thought wife had sex with Louisiana pastor