Republican Ben McGorty of Shelton wins state rep race