The infrared database of extragalactic observables from Spitzer – I. The redshift catalogue