[Android] Fix potential memory leak in XWalkViewInternal

Use WeakReference to register ActivityStateListener.
Otherwise, the ActivityStateListener will hold
a reference of XWalkViewInternal as in static observer
list.
public -> private?