Spatial mapping of band bending in semiconductor devices using in situ quantum sensors