Reaching for the stars -- JWST/NIRSpec spectroscopy of a lensed star candidate at $z=4.76$