Modelling line tension in wetting