Reconstruction of electron trajectories in high-resolution Si devices for advanced Compton imaging