Constraining general U(1) interactions from neutrino-electron scattering measurements at DUNE near detector