Spatially resolved measurement of helium atom emission line spectrum in scrape-off layer of Heliotron J by near-infrared Stokes spectropolarimetry