Quantum wavefront shaping with a 48-element programmable phase plate for electrons