$K$-theory for generalized Lamplighter groups