During a visit to the White House, the French leader said any peace deal must "not be a surrender of Ukraine".