Fault lubrication and earthquake propagation in thermally unstable rocks