I dont think you are going to make both.
You can count on 4 to 5 hours for the dolphin encounter.
You wait there until everyone is done, including those on the dolphin swim. Then you wait until you get paraded through the gift shop while you wait until they get you to look at the photos they took.
You have a 20 minute ride back to the dock after all that.