Refactor `ScreenWakeLock` to support dynamic level updates and simplify its release logic.