The Schrödinger operator on an infinite wedge with a tangent magnetic field