France's election result looks set to produce a hung parliament, with a leftist alliance in the lead but without an absolute majority.