Salesforce.com Inc. shares have underperformed fellow software stocks since the company’s plans to acquire Slack were first reported late last year, but one analyst thinks a turnaround is in store.