A husband shared his wife with his friend in a steamy hotel window encounter