Here is a proof when $f : X \to \mathbb{R}$ such that $\{\mathbf{x} \in \mathbb{R}^p : \|\mathbf{x}\|_1 \leq p\} \subseteq X$ that requires no special tools.
Let $\mathbf{x} \in X$. If $\|\mathbf{x}\|_1 \not\in (0, p)$, then $f(\mathbf{x}) \le \|\mathbf{x}\|_0 \leq \|\mathbf{x}\|_1,$ so we may assume $\|\mathbf{x}\|_1 \in (0,p)$. Then $\frac{p}{\|\mathbf{x}\|_1}\mathbf{x} \in X$ and
$$\begin{align*}f(\mathbf{x}) &= f\left(\left(1 - \frac{\|\mathbf{x}\|_1}{p}\right)\mathbf{0} + \frac{\|\mathbf{x}\|_1}{p}\left(\frac{p}{\|\mathbf{x}\|_1}\mathbf{x}\right)\right) \\ &\leq \left(1 - \frac{\|\mathbf{x}\|_1}{p}\right)f(\mathbf{0}) + \frac{\|\mathbf{x}\|_1}{p}f\left(\frac{p}{\|\mathbf{x}\|_1}\mathbf{x}\right) \\ &\leq \left(1 - \frac{\|\mathbf{x}\|_1}{p}\right)\|\mathbf{0}\|_0 + \frac{\|\mathbf{x}\|_1}{p}\left\|\frac{p}{\|\mathbf{x}\|_1}\mathbf{x}\right\|_0 \\ &\leq \left(1 - \frac{\|\mathbf{x}\|_1}{p}\right)(0) + \frac{\|\mathbf{x}\|_1}{p}(p) \\ &= \|\mathbf{x}\|_1\end{align*}$$
Note that as long as $X$ contains a neighborhood of $\mathbf{0}$, it becomes more difficult to prove as $X$ shrinks, so my result here is not unexpected if you accept the proof that it's true when $X$ is the unit ball in $(\mathbb{R}^p, \|\cdot\|_\infty)$.