Enhanced superconductivity with interlayer spacing dependent T c in intercalated Weyl semimetal MoTe2