InputManagerInternal: Add API to set power/wakeup node

This can be used by other system service to set input device's
wakefulness from kernel sleep state when power policy changes.

DD: go/configure-al-kernel-wake
Bug: 372812925
Test: atest inputflinger_tests
Test: Plug in USB mouse with the set of changes:
      power/wakeup of mouse becomes enabled and it can wake
      up from "echo mem > /sys/power/state".
Flag: com.android.input.flags.set_input_device_kernel_wake

Change-Id: I2cc9e498c8f6b99f5dd00361f17df8cfd2b9d2cd
4 files changed