Topological order versus many-body localization in periodically modulated spin chains