Robin Williams formed a deep bond with the young Dead Poets Society cast and helped shape the film’s lasting legacy.