The scrutiny of consultancies, including Capvision Partners, whose offices were raided Tuesday, is the latest step in a yearslong campaign to tighten control of information.