Conscription has fostered employment perks that can benefit men when they complete their military service — and put women at a disadvantage as they start their careers.