Fix typo in private attr of `inference_mode` (#119167)
This PR amends #102642.
`torch.inference_mode`'s attribute to store the actual context is inconsistent between `__init__` and `__enter__`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/119167
Approved by: https://github.com/albanD