You have 60 minutes from the park's regular closing hour to walk to the gate, pick up your packages, stand on line, and finish your monorail ride.
At EPCOT this will include watching IllumiNations, walking back through World Showcase, through Future World, and catching that monorail all by 10 pm.
If you're traveling to CR, GF, or Poly be sure to add that time to your 60-minute limit of 10 pm. And if MK closed earlier than 9 pm that night, when you reach the TTC can take a bus or walk to your monorail ( ha - you wish) resort.
What about a late dinner at California Grill and you can see your room at GF from the restaurant? If it's later than 60 minutes past MK regular closing, you'll be taking a bus back to TCC and another bus to GF.
Visit the thread mentioned above for more info.