The French president has struggled to maintain the influence his country gained in Africa through colonialism