Well-posedness and long-time behaviour for a model of contact with adhesion