Many Africans had known that Trump’s “America First” outlook meant their continent was likely to be last among his priorities.