John Swinney’s spokesperson has defended using taxpayer funds for a cross-party summit to oppose Nigel Farage’s Reform UK.