I'd like to share you some experience that fit in your itinerary below.
day 1: bike along Yulong and take bamboo raft. Hike Moon Hill
day 2: Cooking class, not sure what else
How about Kungfu learning? If not, after the cooking class(often 2 hours) and then go to Xingping in the afternoon or in the morning.
day 3: Xingping or Longji
Go to Longji(Yangshuo to Guilin then change bus to Longji), stay a night in Guilin.
day 4 we fly out of Guilin We have a 4PM flight
Do Reed flute cave, elephant trunk hill and fubo hill tour in morning, then prepare for your departure.
Hope you enjoy the tour.
By the way, when will you start your tour? I will go to Longji during March, hope we will have chance to meet there.