President Recep Tayyip Erdoğan and other participating leaders posed for a family photo