Janet Yellen’s successor described a Goldilocks economy Tuesday, but there’s concern about how long the good days will last.