The documentary chronicles how Star Trek’s positions on everything from race to AI were way ahead of their time.