Russia’s military spending has propped up the economy, made some military families rich and set off a housing boom. But some worry the center will not hold.