Since the Arab Spring seven years ago, autocratic regimes have spent millions on Western firms’ technology to steal activists’ contacts,…