A man set himself on fire on Friday outside the New York courthouse where Donald Trump’s historic hush-money trial was taking place as jury selection wrapped up, but officials said he did not appear to have been targeting Trump.