Adsorption of a directed polymer subject to an elongational force