Bain Capital Double Impact has invested in a distance learning company for special needs students and a provider of healthcare to individuals with disabilities.