Functional renormalization-group calculation of the equation of state of one-dimensional uniform matter inspired by the Hohenberg-Kohn theorem