Non-isothermal flow of a Johnson–Segalman liquid in a lubricated pipe with wall slip