African leaders elected Djibouti's foreign minister to become the next leader of the commission than runs the continent-wide African Union.