Exploring the θ-vacuum structure in the functional renormalization group approach