Trump joked about the golf legend’s gender