Detecting fundamental fields with LISA observations of gravitational waves from extreme mass-ratio inspirals