The Irish town of Carlow is an unlikely staging post in the super-charged rise of a key player in China’s push to dominate the global electric-vehicle revolution.