Viscous heating effect on the drag reduction of a bubble towards a near-contact wall