Lite worker refactoring (#9424)
* Remove a comment no longer correct
* add changeset
* Fix custom element registration timing
* add changeset
* add changeset
* Revert change on custom-element/index.ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>