The Harley-Davidson LiveWire, launching in August, is the American manufacturer’s first electric motorcycle.