New federal rules will require more than 18 million Medicaid enrollees nationwide to show they’re working, volunteering, or going to school.