An Empirical Tool to Derive Metallicity, Reddening, and Distance for Old Stellar Populations from Near-Infrared Color-Magnitude Diagrams