Role of wettability in the break-up of liquid films inside constricted capillaries