Modeling limited attention in opinion dynamics by topological interactions