The show’s vision of a diverse future in space didn’t just stay on television. It influenced NASA’s workforce, recruitment and even the agency’s relationship with the public.