Skill-based Contextual Sorting: How Parental Cognition and Residential Mobility Produce Unequal Environments for Children