Morgan Stanley's guide for tech investors playing the end of this bear market — and the start of the next bull