Near-infrared polarimetry of the Red Rectangle