Non-monotonic thermoelectric transport controlled by phase competition in Mg2Sn thin films