You want to check whether the maximum of $|f'|$ is less than $1$. So take one more derivative:
$$f''(x)=-2Be^{-Bx^2}+4B^2x^2e^{-Bx^2}.$$
This is zero if and only if $4B^2x^2-2B=0$, i.e. $x^2=1/(2B)$. At these points you have $|f'(x)|=2^{1/2} B^{1/2} e^{-1/2}$. You can check that these must be the points where $|f'|$ is largest since $f'(0)=0$ and $f'(x) \to 0$ as $x \to \pm \infty$. It is clear that this grows without bound as a function of $B$, so $e^{-Bx^2}$ cannot be a contraction for all $B$.