The story behind Cohen's classic ballad, which stretches from the singer-songwriter's beginnings to his death in 2016, is told in a new documentary film