Left out of federal labor law written decades ago, nannies, housekeepers and private caregivers are gaining legal protections in a growing number of states, with Illinois becoming the latest to establish a domestic workers’ “bill of rights.”