Last year saw an unprecedented $21.8 billion in venture capital poured into cybersecurity companies globally—and investors set the record in style.