Helicity-conservative finite element discretization for MHD systems