Blake Lively testified about how she got her hands on the text messages she used as evidence in her since-dismissed lawsuit against Justin Baldoni ... TMZ has learned. During her July 2025 deposition, Blake was asked how she obtained the texts from…