Ground state solutions for a non-autonomous nonlinear Schrödinger-KdV system