BSDE on an infinite horizon and elliptic PDEs in infinite dimension