Irfan Javed’s new book of personality sketches charts the lives and anecdotes of eminent writers and poets