Method for producing, from a polymer matrix in a liquid phase, a solid material containing nano-additives