WifiP2pSettings: Fix the failure of cancel P2P invitation.

Uses the new API in framework to cancel P2P invitation.

Change-Id: I650ed644443c3cbea4cf0f93d3ab3645f27c5f3e