Analysis of a temperature-dependent model for adhesive contact with friction