Pakistan Prime Minister Shehbaz Sharif congratulated Donald Trump on becoming the U.S. President. His message on X was flagged for using the platform illegally despite its ban in Pakistan.