The 1996 welfare overhaul, which ended the poor’s entitlement to aid from the federal government while increasing benefits for those who worked, sharply realigned the distribution of help — favoring the employed, those who are married and who have children, and leaving out the childless and those who had either no or very low earnings from work.