This thousand-year-old painting from Dunhuang uncannily depicts a 21st-century author trying to writ