The Supreme Court rejected an attempt by Mr. Trump to block the construction of turbines near his luxury golf resort in northeast Scotland.