The star formation history of low-mass disk galaxies: A case study of NGC 300