The creator of the hit HBO series drew on the heroes and villains of Star Wars for the show’s heavy second season.