Analysis of a quasi-variational contact problem arising in thermoelasticity. (April 2022)