A slightly simpler plot, but one with a fair amount of potential.
Around Year 5, Harry, Dumbledore, Voldemort, and numerous other wizards on both sides and across Earth determined to have combat potential... Are teleported to an alien starship. The aliens (Let's call them the Starfarers)...