Bivariate polynomial injections and elliptic curves