Man pleads guilty to wire fraud, authorities in NH say