The British Library said they hoped to honour Wilde’s memory and ‘acknowledge the injustices and immense suffering he faced’