Officers have seized an off-road bike after it was being ridden illegally in Walsall.