Boundary modelling of the stellarator Wendelstein 7-X