Gravitational plane waves in a non-Riemannian description of Brans–Dicke gravity