Mr. Takei's memories of his family's imprisonment in the United States during World War II inspired the Broadway musical "Allegiance."