Selective buckling via states of self-stress in topological metamaterials.