Morningstar found investors who stay the course earn higher returns, echoing Warren Buffett’s advice that long-term investing can beat frequent trading for everyday investors.