LEAPS: A discrete neural sampler via locally equivariant networks