A car was seized in Bradford after police officers stopped the vehicle when they noticed a child standing in a rear seat.