A surprising number of Thai desserts and dishes trace their origins to early European traders, who also brought with them new ingredients like chilies and peanuts.