The appeals court largely upheld Apple’s victory against Epic Games, but found it cannot forbid app makers from circumventing its 30% cut.