Nonlinear ac transport and local fields in quantum wires