York: Electric scooter operator pulls out of city