Robert Roper considers how Walt Whitman’s experiences of volunteering in Civil War hospitals, and of writing letters of condolence to the families of newly-dead soldiers, helped shape “When Lilacs Last in the Dooryard Bloom’d,” his elegy for Abraham Lincoln.