Welcome to cruise-chat.
Most people I have talked to prefer doing the land portion first so you can relax more on the ship to end the vacation. It seems less stressful.
Bears are more active when it is warmer. While that is a crap shoot any time in Alaska most professionals say you are more likely to see wildlife if you go in the July-September timeframe.