Wolves' new head coach Vitor Pereira ended their run of defeats with a 3-0 victory over Leicester City.