A court ruling ends the club’s last-ditch rescue bid after weeks of financial turmoil and regulatory setbacks.