[ticket/12854] Don't show contact page link if board emails are disabled

https://tracker.phpbb.com/browse/PHPBB3-12854
I would probably rather split the function. But moving on now.