MLCV: Bridging Machine-Learning-Based Dimensionality Reduction and Free-Energy Calculation