Her overnight pink-pajama journey highlighted debates over blending social media stunts with congressional duties.