Nuclear tensor polarization in a laser-driven polarized deuterium internal target