From Italian domination in lexicographic product graphs to w-domination in graphs