On time-periodic solutions to an interaction problem between compressible viscous fluids and viscoelastic beams