The joke is a play on words. The lightbulb is an invention that creates light from electricity. To 'see someone in a new light' means to have a different point of view on them, or to see a side of someone that wasn't known about before.
After he invented the light bulb , people saw Edison in a new light .