Fix JS strings escaping in wxWebView. See https://github.com/wxWidgets/wxWidgets/pull/1727. Closes #18602.