Cosmological information in the intrinsic alignments of luminous red galaxies