Update NavX.php

Upgrade `isChildActive` method for lighting items when uses more 2 level depth.