Americans are buying electric vehicles at a record pace, undeterred by rising prices and long waits for delivery, a further indication that the twilight of the internal combustion engine is on the horizon. Vehicles that run on batteries accounted for 5.6 percent of new-car sales from April through …