The medical waste that has fouled beaches in the New York region at the peak of the summer season has taken its toll on business all along the shore, driving vacationers away both from beaches that have been closed and from those that have remained open.