Uighur heartland transformed into security state as China faces threat from Islamist extremists