The Mid-infrared - Hard X-ray Correlation in Active Galactic Nuclei