Deep near-infrared imaging of W3 Main: constraints on stellar cluster formation