At the 11th hour, Peter Thiel decided to fund Donald Trump for president