Wrapping Transition and Wrapping-Mediated Interactions for Discrete Binding along an Elastic Filament: An Exact Solution