Welsh minister say some pupils are leaving lessons two or three to times to vape.