[FX] Make wrapped functions traceable (#46692)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46692
Test Plan: Imported from OSS
Reviewed By: dzhulgakov
Differential Revision: D24465958
Pulled By: jamesr66a
fbshipit-source-id: 8c04aa3f59d1371d730ded7abd8f0c6c047e76b6