Bound states of moving potential wells in discrete wave mechanics