I can see a big beam sitting on that 4x4 vertically and two smaller attached to the big beam parallel to the wall, so it makes me think its a load bearing wall.... But I dont know much about it, there is no attic acsses to check unfortunately.
Thank you!