The cyber-attack on Jaguar Land Rover hit manufacturing and weighed on growth in the economy, figures show.