The quench action approach in finite integrable spin chains