The decline of the Hainan gibbon – the world’s rarest primate – has been revealed by a trawl through historical Chinese documents.