Former United Nations Secretary-General Kofi Annan has led a meeting with a group of former world leaders and Iran's President Hassan Rouhani.