Six Flags Entertainment Corp. announced Thursday that it is selling Michigan’s Adventure and six other parks to EPR Properties as part of a $331 million deal.