A wave of selling swept across Wall Street and stock markets around the world after Greece’s prime minister said he would call a national vote on an unpopular European plan to rescue that nation’s economy.