On vertex algebra representations of the Schrödinger–Virasoro Lie algebra