The announcement by President Emmanuel Macron comes as world leaders meet to revive the long-stalled two-state solution.