Return a bounded stable context centered on messageId.
before and after may independently be zero when the caller needs a one-sided window or only the target message.