[AWARE] Trigger onSessionTerminated when App trigger session destroy

When App close the Aware session which disconnect the aware, framework
should trigger onSessionTerminated callback on discovery session. This
will avoid crash caused by security exception when discovery session
is auto closed.

Bug: 188877959
Test: atest com.android.server.wifi
Change-Id: I412980282287fccd0918756b8c69a354a68c76d6
2 files changed