The lawsuit seeks damages for a politically motivated arrest timed to coincide with the opening of early voting in New Jersey’s Democratic gubernatorial primary.