[Android] Fix crash issue caused by activity lifecycle

When use UI related callbacks for Embedded API, need to check XWalkView owner activity status.
Otherwise it will cause crash.

BUG=XWALK-1461
Merge pull request #1830 from kurli/check-xwalkview-status

[Android] Fix crash issue caused by activity lifecycle