President Donald Trump posted an extensive note on social media over the weekend, criticizing federal judges after his administration suffered a loss in court.