Universal upper bound on the entropy-to-energy ratio for bounded systems