If the handbrake can't stop the wheel turning, put the wheel back on & lower the car so the weight is on that hub.
You may need to put block of wood or similar to give you clearance from below.
Also, I prefer to use a breaker bar rather than a torque wrench to undo stubborn nuts - with a length of steel tube over the bar if really stubborn.