Learned infinite elements for helioseismology -- Learning transparent boundary conditions for the solar atmosphere | Synapse