A collection of 95 medieval riddles has left scholars scratching their heads—and clutching their pearls