Conformational Shifts of Stacked Heteroaromatics: Vacuum vs. Water Studied by Machine Learning