Spectroscopic Mass and Host-star Metallicity Measurements for Newly Discovered Microlensing Planet OGLE-2018-BLG-0740Lb