pqBoxPropertyWidget: Fix crash when Reset Bounds button pressed
The lambda slot was capturing a stale reference to a stack variable that was going out of scope. Store the connection as a member variable instead.
Closes #21569 (closed)
Backport: release