[WifiLock] Move arg validity check earlier - prevent service crash

Move the argument validity check into the binder thread - which crashes
the caller as opposed to the service.

Bug: 143518156
Test: atest com.android.server.wifi
Merged-In: Ic7c3f59524aa6a0e2aa41b34dd8179b31dba84e3
Change-Id: Ic7c3f59524aa6a0e2aa41b34dd8179b31dba84e3
4 files changed