The French once thought of medical gear, like fighter jets, as a national security asset that had to be made at home. But cuts and outsourcing have left them scrambling for masks, tests and even pain pills.