Electron spectrometry with Silicon drift detectors: a GEANT4 based method for detector response reconstruction