[BREAKING CHANGE] Remove deprecated Element#onDOMEvent and #offDOMEvent

Bug: T76861
Change-Id: I152f9e1308efb1cf4d7f238145091068735ee429