Move dyn fusion api to jit/api/module/ (#72638)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72638
All of the other user-facing apis are in this header, this should be too.
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D34159122
Pulled By: eellison
fbshipit-source-id: 71110ad5543246d0fa822c426ad1cf2f65e017f6
(cherry picked from commit f1862b32e15b32c0e9bc18d3c7769e2a668b2678)