Britain’s domestic intelligence agency said China was using headhunters to gather intelligence from lawmakers and parliamentary staff members.