If the fireworks are at 10:00, you will sit on the boat to watch the fireworks (which last about 20 minutes I believe, correct me if I'm wrong) and then you have the trip back to the dock. I don't recall how long that took. We were in the second boat back (Smee) and in the very last row so it took us quite a long time to exit the boat. We didn't wait for Peter Pan because by then we would've been last in line which for a character meet and that amount of people isn't too bad but we had 2 very tired kids.
MK being open until 2 am you should be fine. I think with walking back to catch the bus and riding back to CBR we were in our room by 12 or 1230 that night if I'm remembering right (sorry it was about 9 months ago)
Maybe someone with a more recent experience can provide more accurate times.