New York state lawmakers on Friday approved a bill targeting Amazon’s use of productivity quotas in warehouses, the latest sign that public…