A scrapped Enterprise episode nearly explained the Borg Queen’s origin, fixing one of Star Trek’s most frustrating mysteries.