Hybrid algorithm for efficient simulation of spreading processes on adaptive networks