Robin Thicke posted a sweet family photo with his pregnant girlfriend and son during a fun day at the beach