Four-Dimensional Wall-Crossing via Three-Dimensional Field Theory