Advancing photonic technologies for ground-based infrared astronomy