President Biden Dropping Out of Race

Didn’t the Supreme Court just decide that speeches are official acts of the presidency, and that such official acts are legal by definition?