John De Lancie has been playing Q on Star Trek for decades, but it almost didn't happen.