On the relation between magnetic field-aligned electrostatic electron acceleration and the resulting auroral energy flux