Fix OwlViT torchscript tests
# What does this PR do?

Fix `OwlViTForObjectDetection` torchscript tests. The main problem comes from the fact that we provide

```python
traced_model = torch.jit.trace(model, (input_ids, pixel_values))
```
but `OwlViTForObjectDetection` has different order of arguments.

I could simply change the order in the test method, but probably it is better to have `OwlViTForObjectDetection` and `OwlViTModel` have the same argument order .

[current failed job run](https://github.com/huggingface/transformers/runs/7552486052?check_suite_focus=true)
_The documentation is not available anymore as the PR was closed or merged._