Exploring the molecular chemistry and excitation in obscured luminous infrared galaxies. An ALMA mm-wave spectral scan of NGC 4418