The South Sudanese leader’s visits to Nairobi and Pretoria sought election funding, logistical support, poll backing.