I don’t think it’s only culture and this just happened by itself. The leadership of President Tsai Ing-wen (蔡英文) surely was a factor as well.
Culture works in conjunction with good policy and leadership. I would be wary of attributing too much to the relatively immutable and hand-wavy notion of culture.
Their VP is also an epidemiologist by training, a public health researcher, and was the health minister during the SARS epidemic [0] so definitely seems like the right person in the right job at the right time.