Learn what a hardship withdrawal is, who qualifies, how it’s taxed and smarter ways to handle financial emergencies without draining your 401(k).