The Lord of the Rings author’s translation of a medieval religious text from the early 13th century had lain forgotten in the archives until now.