A two-tier system that has long made workers leave children behind in villages is cutting into birthrates.