Non-thermal and thermal effects on mechanical strain in substrate-transferred wafer-scale hBN films