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 led by nurses and other workers in the eastern Caribbean island, officials said late Thursday.