Judge casts doubt on New York’s polluter pays climate law