Laser-driven photoelectron induced pulsed X-ray source for energy dispersive X-ray spectroscopy and radiography applications