A data‐driven memory model for solving turbulent flows with the pseudo‐direct numerical simulation method