The shear filter for Affinity Photo can be found in the distort sub category of the filter menu of the application. It comes with a few options such as horizontal and vertical shear. You can also apply it once or multiple times.
Drag the curve for vertical
Drag the curve for horizontal