main: Fix transitions if one profile is inhibited
When transitioning from one profile to another, we only want to stop the active profile from changing if the target profile is inhibited, which it might not be if we want to switch to, say, the power-saver profile.
This was broken since drivers could handle more than one profile.