A man has died after a shark attack while fishing with his family off the Central Queensland coast.