Many Africans are cautiously optimistic about what the next Donald J. Trump administration might bring to the continent.