Syriens president Ahmad al-Sharaa träffar den tidigare CIA-chefen David Petraeus i New York.