A proxy implementation of thermal pressurization for earthquake cycle modelling on rate-and-state faults