非行 refers specifically to delinquency or juvenile misconduct, whereas 不行状 covers a wider range of serious improprieties, not limited to youth.
Etymology
Compound of 不 (fu, 'not') + 行状 (gyōjō, 'conduct, behavior'). The exact historical derivation is uncertain; the spelling is conventionally associated with misconduct.