Leonard Riggio transformed the publishing industry by building Barnes & Noble into the country’s most powerful bookseller before his company was overtaken by the rise of Amazon.