Trilinear singular Brascamp-Lieb forms and applications