Changed XObject OnChanged and OnChanging to use Owner.

When XObject.Owner is not a XElement XObject.Parent returns null and the owner would not be notified of changing and changed events.
**Fixes:**[#18772](https://bugzilla.xamarin.com/show_bug.cgi?id=18772)