Electrically driven singlet-triplet transition in triangulene spin-1 chains