The Porsche 718, a mid-engine roadster that injects the automaker’s motorsports’ history into a modern-day package, is going all electric by 2025.