Rudolph W. Giuliani, a former top federal prosecutor, New York City mayor and lawyer to a president, had his law license suspended after a New York court ruled on Thursday that he made “demonstrably false and misleading statements” while fighting the results of the 2020 election on behalf of Donald J. Trump.