Text this: Connecting extended Wigner's friend arguments and noncontextuality