A stark warning from France's new army chief about the country "losing its children" in a potential war with Russia has sharply divided political opinion.