LPS-33626 Move rootElement to portletDataContext

Plugins: https://github.com/brianchandotcom/liferay-plugins/pull/1353