[quant][pt2e] Make sure XNNPACKQuantizer works with the pre_dispatch=True (#107872)
Summary: att
Test Plan:
```
buck test //executorch/backends/xnnpack/test:test_xnnpack_quantized_models -- test_resnet18
buck2 test 'fbcode//mode/opt' fbcode//caffe2/test:quantization_pt2e
```
Reviewed By: andrewor14, tugsbayasgalan
Differential Revision: D48415977
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107872
Approved by: https://github.com/andrewor14