Hold wakelock while waiting for state machine to run

Previously suspend policy was evaluated while mce was holding
input wakelock. Since this is no longer the case, we need to
have another wakelock while waiting for the state machine
evaluation to take place.
Release also cpu keepalive wakelock on mce exit.