Release wakelock when activity is destroyed.