Elucidating the mechanism of action of compounds with antitrypanosomatid activity