Visualization of Carrier Depletion in Semiconducting Nanowires