Study of the kaon contribution to the T2K neutrino beam using neutrino interactions in the Near Detector