Efficient and accurate simulation of infectious diseases on adaptive networks