Elliptic bihamiltonian structures from relative shifted Poisson structures