Boos – and a few cheers – greeted the president at the Ultimate Fighting Championship in New York.