Theory of superfluidity and drag force in the one-dimensional Bose gas