Topological superconductivity at finite temperatures in proximitized magnetic nanowires