Biographer says ‘cruel irony’ that selling a biography of a man who is in jail for his activities as a journalist would lead to sedition charges