Detection of an infrared companion to Haro 6-10