The former Samsung Electronics executive accused of leaking sensitive technology to build a China-based chip factory had a renowned career in his native South Korea before pivoting to roles that would help advance Beijing’s semiconductor sector, according to people familiar with the matter and public corporate records.