[`pydocstyle`] Re-implement `last-line-after-section` (`D413`) (#9654)
## Summary
This rule was just incorrect, it didn't match the examples in the docs.
(It's a very rarely-used rule since it's not included in any of the
conventions.)
Closes https://github.com/astral-sh/ruff/issues/9452.