Strongly bound mesons at finite temperature and in magnetic fields from AdS/CFT