Finite-time interaction quench in a Luttinger liquid