Ralph Gonsalves, the prime minister of St. Vincent and the Grenadines, was hospitalized after a demonstrator threw a rock at his head during an anti-vaccine protest in the eastern Caribbean island, officials said late Thursday.