Anna Faris’ texts about Chris Pratt’s engagement are a lesson in being friends with your ex