Interaction between a line current and a two-dimensional constant-α force-free field: an analytical model for quiescent prominences