uwb(service): Fix NPE when getAction() == null

Move the error/cb handling to inside the "if (getAction() != null)" block.

Bug: 231593229
Change-Id: I92ccd3b3ac30580e1aa6c0090f3bc7dab57da502
Test: atest ServiceUwbTests
1 file changed