Wide-bandwidth atomic magnetometry via instantaneous-phase retrieval