Within Gross-Pitaevskii (GP) theory we derive the interface potential V (ℓ) which describes the interaction between the interface separating two demixed Bose-condensed gases and an optical hard wall at a distance ℓ. Previous work revealed that this interaction gives rise to extraordinary wetting and prewetting phenomena. Calculations that explore non-equilibrium properties by using ℓ as a constraint provide a thorough explanation for this behavior. We find that at bulk two-phase coexistence, V (ℓ) for both complete wetting and partial wetting is monotonic with exponential decay. Remarkably, at the first-order wetting phase transition, V (ℓ) is independent of ℓ. This anomaly explains the infinite continuous degeneracy of the grand potential reported earlier. As a physical application, using V (ℓ) we study the three-phase contact line where the interface meets the wall under a contact angle θ. Employing an interface displacement model we calculate the structure of this inhomogeneity and its line tension τ . Contrary to what happens at a usual first-order wetting transition in systems with short-range forces, τ does not approach a nonzero positive constant for θ → 0, but instead approaches zero (from below) in the manner τ ∝ −θ as would be expected for a critical wetting transition. This hybrid character of τ is a consequence of the absence of a barrier in V (ℓ) at wetting. For a typical V (ℓ) = S exp(−ℓ/ξ), with S the spreading coefficient, we conjecture that τ = −2 (1 − ln 2) γ ξ sin θ is exact within GP theory, with γ the interfacial tension and 0 ≤ θ ≤ π.