Rest-frame Near-infrared Radial Light Profiles up to z = 3 from JWST/NIRCam: Wavelength Dependence of the Sérsic Index