As Zambia’s first president, he dominated his country, outliving many of the other frontline leaders who had sponsored southern Africa’s guerrilla wars.