TEMT6000 light sensor voltage divider readout Vs. photoresistor voltage divider

You are aware that the voltage derived from Vin on an ESP32, powered via the USB interface, is 5 volts.
If that does not explain your problem, then maybe draw a full schematic. You seem to have a partial one on the right hand margin of the picture in your opening post.