Or use the Suikoden method of lower levels getting bigger amounts of exp so that they shoot up to equal levels within a few battles.
Another way to encourage changing characters is to make the characters have skills that can interact with each other via combinations. If Alice casts Ice and Jack uses his Sweep, they combine to create a sweeping ice attack, but if you have Alice and Lorie in the party instead, that ice spell and Lorie's fire spell can make an explosive combination on one enemy, and Lorie and Jack can make a fire sweep.
Also, not having overlapping skillsets. If someone is a dedicated healer, make sure they're better at healing than someone who has a healing spell so there's a use to having them tag in for a while.
Going back to that idea about having the out-of-battle characters cheering the party on, maybe it could be that the longer they are out of battle themselves, the less they add, bonus-wise, so if you want those bonuses from them cheering you on, you need to rotate them in and out of battle sometimes.
Just making characters interesting also helps. New weapons and skills and equipment can help, but really balance is what you should aim for.
And story-compliant parties are fine as long as there's a good reason for it and the party members in question aren't lagging behind in experience. Hell, you could have the 'two parties' thing where the party splits up and you have to control both parties for separate story parts - a la FF6.
Honestly, I think the best way is to allow swapping in battle and find a way to encourage you to swap. Having it detrimental to do so would be silly, so maybe resting in reserve can heal up some health or give your resters a buff of some kind before swapping them back in. Like, Jack gets poisoned so you swap him out with Lorie. While he's in the back row, so to speak, he gets healed of any ailments. Maybe x amount of turns does x thing (ailment heal for turn 1, health regen added for turn 2, magic regen added for turn 3, attack/defence buff for turn 4, remove KO for turn 5) and swapping in and out becomes part of the way to keep your party in the best condition it can be. This would be very useful if the game was low-item gain and had a system like Grandia (where speed can dictate where you fall on the turn order and skills can change that order sometimes).
A good game to look at for this is Trails of Cold Steel, where you have links with allies that grow over battle but you can swap your allies in and out. You can have 6-7 of 9 people at most at a time, but a lot of the time 4-5 of them aren't accessible story-wise, however the group is always changed up and no-one really falls behind level-wise because they're off doing their own story stuff and levelling up themselves without you. This includes gaining new weapons and armour while they're away, so when you get them back and swap people in/out no-one is really worse than anyone else. It works out quite well.