I'm no expert, but based on what I've read, wait times are shortest end of day, so I'm planning to do Navi and FoP last (and getting in line at 6:59 would be adequate to let you in). Kilimanjaro Safari is either best first thing in the morning or before the ride closes (animals less active mid-day when it is so hot), so would do that just before, but I'm not sure how far before is enough of a buffer so that you don't miss Pandora (though Safari closes before official park close though). I'd do the show and KRR first (esp in the heat of the afternoon).
Lunch-wise, Satuli canteen and Flame tree BBQ as quick service, (or Nomad lounge mentioned upthread as table service where you can walk up and join a wait list) are way more highly rated dining options in the park over Rainforest cafe. Doesn't necessarily make the plan work better, but it seems like doing Ak in an afternoon won't be particularly challenging, so you can probably be more selective with dining choices if you'd prefer other options.
The other thing is what time of year you are going and when is sunset? I'm going early May where AK closes at 7 and sunset is not until after 8pm. Even jumping in Fop line right before close I don't think I'll be able to witness Pandora in all its nighttime glory