Walgreens has added the former leader of a rival it once tried to buy, as the drugstore chain works through a COVID sales slump, a major push into primary care and a looming CEO departure.