Ukraine’s cyber defenders handled nearly 6,000 incidents last year as attacks hit hospitals, energy networks and telecommunications.