Funds backed by the governments of France and Germany are investing in a three-year-old startup that’s leading European efforts to build an alternative to Elon Musk’s Dragon space capsule.