PARIS — French President Emmanuel Macron was projected to lose his absolute majority in parliament by a wide margin on Sunday, in a blow that could complicate his presidency at a time when Europe faces profound challenges prompted by the war in Ukraine.