During a visit to Egypt, President Emmanuel Macron said France will move towards recognising a Palestinian state.