Negative cosmological constant in the dark energy sector: tests from JWST photometric and spectroscopic observations of high-redshift galaxies