Realization of Su-Schrieffer-Heeger states based on metamaterials of magnetic solitons