Text this: Optical control of topological end states via soliton formation in a 1D lattice