A bitterly fought Democratic primary in New York’s Hudson Valley will determine who takes on Representative Mike Lawler, one of the more vulnerable Republicans this cycle.