Call onDestroy on XWalkView to release native resources when the activity is destroyed.