[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