French president Emmanuel Macron has become the first major western leader to visit Syria since the ousting of Bashar al-Assad.