xblock-external-ui: Add XBlock API call to render XBlock views