“Star Trek Beyond” screenwriter Doug Jung talks to Sean Tuohy about writing with Simon Pegg, balancing fan service with telling a good story, characters he loved writing for, and how a tight deadline kept the writing process on track.