Mechanistic insights to the reversibility of membrane wetting in membrane distillation