Frankrikes president Emmanuel Macron hoppas att landets erkännande av en palestinsk stat kommer att leda till att andra länder följer efter.