Electron energetics in the expanding solar wind via Helios observations