LONDON — Britain’s vote to leave the European Union sent shock waves rippling across the globe Friday, setting off tumult in financial markets, forcing the country’s prime minister to resign and shattering the stability of an alliance that created the…