In his centenary year, the unveiling of a little-known aspect of the poet and novelist, who was the most consequential television scriptwriter of the 1980s