Fitbit was hoping it would return to profit after many months of losses, and it turns out that faith was well-placed. The wearable maker earned a net profit of $10 million for the third quarter of 2018, beating both its $2.8 million loss from a year…